class Customer < ActiveRecord::Base
  acts_as_authorization_object
  has_many :projects

  validates_presence_of :name
  validates_presence_of :adress
  validates_presence_of :responsible_name
  validates_presence_of :office_phone
  validates_uniqueness_of :name
end
